package com.frxuexi.lib_base.room

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query

@Dao
interface YueDao {

    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun addYue(yueEntity: YueEntity):Long

    @Query("select * from yue")
    fun selectYue():List<YueEntity>
}